package com.clayecloud.lib_common.room.entity;//package com.clayecloud.lib_common.room.entity;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "clientUser")
public class ClientUser {

    @PrimaryKey
    @ColumnInfo(name = "user_id")
    private int userID;

    @ColumnInfo(name = "user_name")
    private String userName;

    @ColumnInfo(name = "user_state")
    private int userState;

    @ColumnInfo(name = "user_infoid")
    private int userInfoid;

    @ColumnInfo(name = "user_loginstate")
    private int userLoginstate;

    @ColumnInfo(name = "user_avatar")
    private String userAvatar;

    public ClientUser(int userID, String userName, int userState, int userInfoid, int userLoginstate, String userAvatar) {
        this.userID = userID;
        this.userName = userName;
        this.userState = userState;
        this.userInfoid = userInfoid;
        this.userLoginstate = userLoginstate;
        this.userAvatar = userAvatar;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getUserState() {
        return userState;
    }

    public void setUserState(int userState) {
        this.userState = userState;
    }

    public int getUserInfoid() {
        return userInfoid;
    }

    public void setUserInfoid(int userInfoid) {
        this.userInfoid = userInfoid;
    }

    public int getUserLoginstate() {
        return userLoginstate;
    }

    public void setUserLoginstate(int userLoginstate) {
        this.userLoginstate = userLoginstate;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }
}
